package serialize_protocol

type Serializer interface {
	Code() uint8
	Encode(data interface{}) ([]byte, error)
	Decode(bs []byte, data interface{}) error
}
